LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_LDLIBS := -llog
LOCAL_CFLAGS   = -Wall -pedantic -std=gnu99 -g -O3
LOCAL_MODULE    := neogeopocket
LOCAL_SRC_FILES := miniprof.c \
		   z80/Z80.c \
		   z80/dasm.c \
		   neopop.c \
		   TLCS-900h/TLCS900h_registers.c \
	           TLCS-900h/TLCS900h_interpret.c \
		   TLCS-900h/TLCS900h_interpret_src.c \
		   TLCS-900h/TLCS900h_interpret_dst.c \
		   TLCS-900h/TLCS900h_interpret_reg.c \
		   TLCS-900h/TLCS900h_interpret_single.c \
		   bios.c \
		   biosHLE.c \
		   dma.c \
		   flash.c \
		   gfx.c \
                   gfx_scanline_colour.c \
                   gfx_scanline_mono.c \
                   interrupt.c \
		   mem.c \
		   rom.c \
		   sound.c \
		   state.c Z80_interface.c \
		   jni.c

include $(BUILD_SHARED_LIBRARY)

